import { createRouter, createWebHashHistory} from 'vue-router'

import Main from '@/components/Main.vue'
import Teacher from '@/components/Teacher.vue'
import Student from '@/components/Student.vue'
import Announcement from '@/components/Announcement.vue'
import System from '@/components/System.vue'
import Determine from '@/components/Determine.vue'
import Problem from '@/components/Problem.vue'
import Increase from '@/components/Increase.vue'
import Guide from '@/components/Guide.vue'
import List from '@/components/List.vue'
import Establish1 from '@/components/Establish1.vue'
import Curriculum from '@/components/Curriculum.vue'
import Establish2 from '@/components/Establish2.vue'

const router = createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:'/',
            component:Main
        },
        {
            path:'/teacher',
            component:Teacher
        },
        {
            path:'/student',
            component:Student
        },
        {
            path:'/announcement',
            component:Announcement
        },
        {
            path:'/system',
            component:System
        },
        {
            path:'/determine',
            component:Determine 
        },
        {
            path:'/problem',
            component:Problem
        },
        {
            path:'/increase',
            component:Increase
        },
        {
            path:'/guide',
            component:Guide
        },
        {
            path:'/list',
            component:List 
        },
        {
            path:'/establish1',
            component:Establish1 
        },
        {
            path:'/curriculum',
            component:Curriculum 
        },
        {
            path:'/establish2',
            component:Establish2
        },

    ]
})

export default router